ga.view.streaming
Class StreamingEvaluationState.DragListener

java.lang.Object
  extended by ga.view.interfaces.MouseListener
      extended by ga.view.streaming.StreamingEvaluationState.DragListener
All Implemented Interfaces:
com.jme3.input.controls.ActionListener, com.jme3.input.controls.InputListener
Enclosing class:
StreamingEvaluationState<T extends IIndividual<T>>

private class StreamingEvaluationState.DragListener
extends MouseListener

This is a mouse listener that detects drag-and-drop.

Since:
12.08.2012
Author:
Stephan Dreyer

Field Summary
private  com.jme3.bullet.joints.Point2PointJoint mouseSliderJoint
           
private  PanelNode<T> selectedPanelNode
           
 
Constructor Summary
private StreamingEvaluationState.DragListener()
           
 
Method Summary
 void onAction(java.lang.String name, boolean keyPressed, boolean isDoubleClick, float tpf)
          Callback method for mouse events.
 
Methods inherited from class ga.view.interfaces.MouseListener
isEnabled, onAction, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mouseSliderJoint

private com.jme3.bullet.joints.Point2PointJoint mouseSliderJoint

selectedPanelNode

private PanelNode<T extends IIndividual<T>> selectedPanelNode
Constructor Detail

StreamingEvaluationState.DragListener

private StreamingEvaluationState.DragListener()
Method Detail

onAction

public void onAction(java.lang.String name,
                     boolean keyPressed,
                     boolean isDoubleClick,
                     float tpf)
Description copied from class: MouseListener
Callback method for mouse events. Subclasses must implement this to add custom code.

Specified by:
onAction in class MouseListener
Parameters:
name - Name of the action.
keyPressed - true if the key is still pressed.
isDoubleClick - true if it is a double click.
tpf - The time per frame.